
import request from '@/utils/request'

export function getImgCollectPage(data) {
  return request({
    url: '/imgCollect/page',
    method: 'get',
    params: data
  })
}

export function getPageList(data) {
  return request({
    url: '/imgCollect/getPageList',
    method: 'get',
    params: data
  })
}


export function save(data) {
  return request({
    url: '/imgCollect/save',
    method: 'post',
    data: data
  })
}

export function update(data) {
  return request({
    url: '/imgCollect/update',
    method: 'post',
    data: data
  })
}

export function deleteByIds(data) {
  return request({
    url: '/imgCollect/deleteByIds?ids=' + data.ids,
    method: 'post',
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
    data: data
  })
}





